#include"Operator.h"

int main()
{
	Rectangle  Rect1(8, 40);
	Rectangle  Rect2(4, 20);
	cout << "Rect1 width: " << Rect1.getWidth() << " and height: " << Rect1.getHeight() << endl;
	cout << "Rect2 width: " << Rect2.getWidth() << " and height: " << Rect2.getHeight() << endl;
	Rect2 += Rect1;
	cout << "Rect2 width: " << Rect2.getWidth() << " and height: " << Rect2.getHeight() << endl;
	//Rect2 -= Rect1;
	//cout << "Rect2 width: " << Rect2.getWidth() << " and height: " << Rect2.getHeight() << endl;
	//Rect2 /= Rect1;
	//cout << "Rect2 width: " << Rect2.getWidth() << " and height: " << Rect2.getHeight() << endl;
	//Rect2 *= Rect1;
	//cout << "Rect2 width: " << Rect2.getWidth() << " and height: " << Rect2.getHeight() << endl;
	_getch();
}